import 'package:fish_redux/fish_redux.dart';

enum LoginFormAction { onLogin, submitting }

class LoginFormActionCreator {
  static Action onLogin() {
    return Action(LoginFormAction.onLogin);
  }

  static Action submitting(bool state) {
    return Action(LoginFormAction.submitting, payload: state);
  }
}
